package logic

import (
	"context"

	"api/internal/svc"
	"api/internal/types"

	"github.com/zeromicro/go-zero/core/logx"
)

type SysInfoLogic struct {
	logx.Logger
	ctx    context.Context
	svcCtx *svc.ServiceContext
}

func NewSysInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SysInfoLogic {
	return &SysInfoLogic{
		Logger: logx.WithContext(ctx),
		ctx:    ctx,
		svcCtx: svcCtx,
	}
}

func (l *SysInfoLogic) SysInfo() (resp *types.ResponseSysInfo, err error) {

	return &types.ResponseSysInfo{
		Code:  200,
		Phone: "16608971293",
	}, nil
}
